package innerclasses;

public class Parcel1 {

	public Parcel1() {
		// TODO 自动生成的构造函数存根
	}
	class Contents{
		private int i=11;
		public int value() {
			return i;
		}
	}
	
	class Destnation{
		private String label;
		Destnation(String whereTo){
			label = whereTo;
		}
		String readLabel() {
			return label;
		}
	}
	public void ship(String dest) {
		Contents c = new Contents();
		Destnation d = new Destnation(dest);
		System.out.println(d.readLabel());
	}
	
	public static void main(String[] args) {
		Parcel1 p = new Parcel1();
		p.ship("Tasmania");
	}
	

}
